<template>
  <footer>
    版权所有Planifolia@{{ currentYear }}
  </footer>
</template>

<script>
export default {
  data() {
    return {
      // 获取当前年份信息
      currentYear: new Date().getFullYear()
    }
  }
}
</script>

<style>
footer {
  width: 100%;
  text-align: center;
  line-height: 75px;
  font-size: smaller;
  color: #afa1a1;
  background-color: rgba(7, 25, 47, 0.7);
  height: 75px;
}
</style>
